﻿#ifndef FORM_H
#define FORM_H

#include <QWidget>
#include <QNetworkReply>
#include <QNetworkRequest>
#include <QNetworkAccessManager>
#include <QStringList>
#include <QUrlQuery>
#include <QTextStream>
#include <QRegularExpression>
#include "http.h"
using namespace std;

namespace Ui {
class Form;
}

class Form : public QWidget
{
    Q_OBJECT

public:
    explicit Form(QWidget *parent = nullptr);
    ~Form();

private slots:
    void on_btn_search_clicked();

    void on_btn_data_clicked();

private:
    Ui::Form *ui;
    http* html;
    QStringList search(QString regularxp,QString data);
    void getData(QString filename);
};

#endif // FORM_H
